extends Node

onready var pointer=$"/root/Node2D/pointer"
#var t0=true

func _ready():
	yield(get_tree().create_timer(1),"timeout")
	set_process_input(true)
	var test_event=InputEventKey.new()
	test_event.scancode=KEY_A
	test_event.pressed=true
	test_event.echo=false
#	test_event.unicode=0
	test_event.shift=false
	test_event.alt=false
	test_event.control=false
	test_event.meta=false
	Input.parse_input_event(test_event)
	print(test_event.unicode)
	
#	yield(get_tree().create_timer(1),"timeout")
#	t0=false

#func _input(event):
#	if(t0):
#		if event is InputEventKey:
#			if event.pressed:
#				print(event.unicode)
